;(function(window) {

  var svgSprite = '<svg>' +
    '' +
    '<symbol id="icon-dingwei" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M787.658752 340.26496c0-152.02304-123.31008-275.28192-275.310592-275.28192-152.044544 0-275.3536 123.25888-275.3536 275.28192 0 50.190336 13.705216 97.127424 37.085184 137.65632l-0.206848 0 238.368768 481.788928 238.507008-481.788928-0.275456 0C773.9904 437.392384 787.658752 390.455296 787.658752 340.26496zM512.310272 421.98016c-63.85664 0-115.657728-51.7632-115.657728-115.61984 0-63.893504 51.801088-115.69152 115.657728-115.69152 63.926272 0 115.687424 51.79904 115.687424 115.69152C627.997696 370.21696 576.236544 421.98016 512.310272 421.98016z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-dianhua" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M993.540013 766.084882l-3.938871-5.732561c2.110146 1.984191-10.438161-12.618389-10.438161-12.618389s-11.779772-13.775748-42.675706-39.318494c-25.398503-20.996197-57.116186-45.144176-81.849512-61.45977-30.043484-19.819394-50.961764-32.584116-49.647784-31.731702l-22.065454-11.037381c-9.674743-4.786003-25.829333-5.307889-37.235582-1.379417-10.307173 3.549849-19.37814 11.622712-23.588198 18.97005 1.804165-3.320629-7.154234 6.52767-25.372919 39.003316-7.808154 14.175861-16.967129 34.189683-27.992693 53.848419-14.960341 26.675546-53.757554 53.070706-92.417638 31.18628-49.066522-27.77253-112.131436-66.098417-176.87669-127.601166C324.39247 547.011398 283.36845 492.403686 260.06679 440.458617c-8.482541-18.910699-4.627585-58.512648 26.371708-73.620741 30.620653-14.923898 48.238632-18.689664 67.581978-30.30112 17.512574-10.921747 14.050584-7.27673 34.477656-20.694321 0.824819-0.600681 7.362997-6.291287 8.274801-6.898107 0 0 1.522744-1.542122 2.757926-2.758834 12.828705-12.163017 16.071698-28.288277 9.653253-44.148499l-2.757926-8.277524c0 0-14.735204-33.45188-37.235582-71.741951-11.924064-20.290115-29.265739-45.538149-42.752457-63.463404-36.500817-48.518017-68.955312-63.463404-68.955312-63.463404s-9.095527-4.792143-13.791676-6.898107c-18.499083-7.798617-34.913603-5.51255-51.027259 1.379417-34.902346 12.894681-54.780903 30.523177-81.75741 52.699246C51.94418 150.741189 10.622364 218.079854 18.871582 276.866748c12.852242 91.943039 128.256349 294.433846 279.149181 437.648618 150.93786 143.236262 364.322531 252.835426 461.043352 264.931928 64.999045 8.280594 120.058299-24.922622 174.867856-75.433016 19.298318-17.785062 44.513641-46.931892 57.481522-74.673723C998.705879 813.742299 1005.825319 783.53737 993.540013 766.084882z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-youjiantou" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M716.288 755.392c-8.704 0-17.344-3.52-23.68-10.496-11.904-13.056-10.944-33.344 2.176-45.184l205.632-186.816-207.424-188.672c-13.12-11.904-14.08-32.128-2.176-45.248 11.904-13.056 32.192-14.016 45.184-2.176l233.472 212.352c6.656 6.08 10.496 14.656 10.496 23.68 0 9.024-3.84 17.6-10.496 23.68l-231.68 210.56C731.712 752.64 724.032 755.392 716.288 755.392z"  ></path>' +
    '' +
    '<path d="M46.016 544.384c-17.664 0-32-14.336-32-32 0-17.664 14.336-32 32-32L913.088 480l0 0c17.664 0 32 14.336 32 32 0 17.664-14.336 32-32 32L46.016 544.384 46.016 544.384z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-jiantou" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M605.463 504.496h-505.034v-66.181h505.034v66.181z"  ></path>' +
    '' +
    '<path d="M605.463 185.802l313.468 287.344-313.468 287.344h-100.121l289.955-289.078-289.955-285.609z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-youjiantou-copy" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M78.443 550.032h733.558l-187.319 180.328c-4.795 4.796-4.795 12.57 0 17.367l37.627 37.627c4.796 4.795 12.57 4.795 17.367 0l235.807-227.011c0.272-0.229 0.541-0.465 0.797-0.721l1.259-1.259 36.367-35.009c2.567-2.568 3.746-5.99 3.564-9.352 0.188-3.369-0.991-6.8-3.562-9.372l-37.627-36.267c-0.243-0.241-0.496-0.463-0.752-0.68l-235.852-227.050c-4.796-4.797-12.57-4.797-17.367 0l-37.627 37.627c-4.795 4.795-4.795 12.569 0 17.367l185.562 178.637h-731.8c-6.783 0-12.28 5.498-12.28 12.28v53.213c0 6.781 5.497 12.28 12.28 12.28z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-youjiantou1" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M0.3584 460.8l842.2912 0-279.5008-289.536 65.792-68.1472 328.9088 340.736 0 0L1023.6416 512l-65.792 68.1472 0 0-328.9088 340.736-65.792-68.1472L842.6496 563.2 0.3584 563.2 0.3584 460.8z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-youjiantou2" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M182.852 176.944v-137.891h275.953v137.891h-275.953zM320.83 314.863v-137.92h276.010v137.92h-276.010zM458.806 452.895v-138.032h276.010v138.032h-276.010zM182.852 1005.31v-138.062h275.953v138.062h-275.953zM320.83 867.277v-138.287h276.010v138.287h-276.010zM458.806 728.99v-138.062h276.010v138.062h-276.010zM596.838 590.93v-138.032h276.292v138.032h-276.292z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-jiantouzuo" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M987.136 477.696H148.48l228.864-241.152-43.008-45.568-302.08 318.464 302.08 318.976 43.008-45.568L148.48 541.184h838.656z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-zuojiantou" viewBox="0 0 1158 1024">' +
    '' +
    '<path d="M1157.002 578.242h-917.79l362.66 352.103L506.746 1024 47.566 578.242H29.933v-17.115L0.002 532.071l20.329-20.072L0.002 491.976l29.93-29.062v-17.158H47.61L506.744 0l95.128 93.673-362.616 352.083h917.746v132.486z" fill="#333333" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-jiantouyou" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M511.363 959.373l-84.024-84.01 302.223-299.65H63.979V447.77H729.56L427.338 147.188l84.024-84.024 448.059 448.618-448.058 447.591z" fill="#666666" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-xinfeng" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M701.825 513.25L997.82 277.565v596.519L701.825 513.25zM32.42 231.68H995.41L513.92 615.089 32.42 231.68z m-3.68 643.964l0.823-598.455 296.443 236.062L28.74 875.644zM513.8 662.79v0.187l0.12-0.093 0.12 0.093v-0.187l164.067-130.648 283.766 345.917H65.967L349.72 532.141 513.8 662.789z" fill="#666666" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '</svg>'
  var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
  var shouldInjectCss = script.getAttribute("data-injectcss")

  /**
   * document ready
   */
  var ready = function(fn) {
    if (document.addEventListener) {
      if (~["complete", "loaded", "interactive"].indexOf(document.readyState)) {
        setTimeout(fn, 0)
      } else {
        var loadFn = function() {
          document.removeEventListener("DOMContentLoaded", loadFn, false)
          fn()
        }
        document.addEventListener("DOMContentLoaded", loadFn, false)
      }
    } else if (document.attachEvent) {
      IEContentLoaded(window, fn)
    }

    function IEContentLoaded(w, fn) {
      var d = w.document,
        done = false,
        // only fire once
        init = function() {
          if (!done) {
            done = true
            fn()
          }
        }
        // polling for no errors
      var polling = function() {
        try {
          // throws errors until after ondocumentready
          d.documentElement.doScroll('left')
        } catch (e) {
          setTimeout(polling, 50)
          return
        }
        // no errors, fire

        init()
      };

      polling()
        // trying to always fire before onload
      d.onreadystatechange = function() {
        if (d.readyState == 'complete') {
          d.onreadystatechange = null
          init()
        }
      }
    }
  }

  /**
   * Insert el before target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var before = function(el, target) {
    target.parentNode.insertBefore(el, target)
  }

  /**
   * Prepend el to target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var prepend = function(el, target) {
    if (target.firstChild) {
      before(el, target.firstChild)
    } else {
      target.appendChild(el)
    }
  }

  function appendSvg() {
    var div, svg

    div = document.createElement('div')
    div.innerHTML = svgSprite
    svgSprite = null
    svg = div.getElementsByTagName('svg')[0]
    if (svg) {
      svg.setAttribute('aria-hidden', 'true')
      svg.style.position = 'absolute'
      svg.style.width = 0
      svg.style.height = 0
      svg.style.overflow = 'hidden'
      prepend(svg, document.body)
    }
  }

  if (shouldInjectCss && !window.__iconfont__svg__cssinject__) {
    window.__iconfont__svg__cssinject__ = true
    try {
      document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
    } catch (e) {
      console && console.log(e)
    }
  }

  ready(appendSvg)


})(window)